/**
 * 工作流定义及发布视图层实体对象
 */

package com.etd.workflow.domin;


import java.util.Date;

import org.activiti.engine.repository.Deployment;
import org.activiti.engine.repository.ProcessDefinition;

public class VOProcess implements ProcessDefinition,Deployment {

	
	public Boolean getStartFormKey() {
		return startFormKey;
	}

	public void setStartFormKey(Boolean startFormKey) {
		this.startFormKey = startFormKey;
	}

	public Boolean getSuspended() {
		return suspended;
	}

	public void setSuspended(Boolean suspended) {
		this.suspended = suspended;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public void setDeploymentId(String deploymentId) {
		this.deploymentId = deploymentId;
	}

	public void setDiagramResourceName(String diagramResourceName) {
		this.diagramResourceName = diagramResourceName;
	}

	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}

	private String id;
	
	private String name;
	
	private String key;
	
	private String category;
	
	private String description;
	
	private Integer version = null;
	
	private String resourceName;
	
	private String deploymentId;
	
	private Date deploymentTime;
	
	private Boolean graphicalNotation;
	
	private String engineVersion;
	
	public Date getDeploymentTime() {
		return deploymentTime;
	}

	public void setDeploymentTime(Date deploymentTime) {
		this.deploymentTime = deploymentTime;
	}

	private String diagramResourceName;
	
	private Boolean startFormKey;
	
	private Boolean suspended;
	
	private String tenantId;
	
	
	@Override
	public String getId() {
		// TODO Auto-generated method stub
		return id;
	}

	@Override
	public String getCategory() {
		// TODO Auto-generated method stub
		return category;
	}

	@Override
	public String getName() {
		// TODO Auto-generated method stub
		return name;
	}

	@Override
	public String getKey() {
		// TODO Auto-generated method stub
		return key;
	}

	@Override
	public String getDescription() {
		// TODO Auto-generated method stub
		return description;
	}

	@Override
	public int getVersion() {
		// TODO Auto-generated method stub
		return version;
	}

	@Override
	public String getResourceName() {
		// TODO Auto-generated method stub
		return resourceName;
	}

	@Override
	public String getDeploymentId() {
		// TODO Auto-generated method stub
		return deploymentId;
	}

	@Override
	public String getDiagramResourceName() {
		// TODO Auto-generated method stub
		return diagramResourceName;
	}

	@Override
	public boolean hasStartFormKey() {
		// TODO Auto-generated method stub
		return startFormKey;
	}

	@Override
	public boolean isSuspended() {
		// TODO Auto-generated method stub
		return suspended;
	}

	@Override
	public String getTenantId() {
		// TODO Auto-generated method stub
		return tenantId;
	}

	@Override
	public boolean hasGraphicalNotation() {
		// TODO Auto-generated method stub
		return this.graphicalNotation;
	}

	@Override
	public String getEngineVersion() {
		// TODO Auto-generated method stub
		return engineVersion;
	}

	public void setEngineVersion(String engineVersion) {
		this.engineVersion = engineVersion;
	}
	
	

}
